home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XExposeEvent.z / XExposeEvent
Encoding:
Text File  |  1998-10-30  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXEEEExxxxppppoooosssseeeeEEEEvvvveeeennnntttt((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))  XXXXEEEExxxxppppoooosssseeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XExposeEvent - Expose event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _E_x_p_o_s_e events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* Expose */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window window;
  20.                int x, y;
  21.                int width, height;
  22.                int count;               /* if nonzero, at least this many more */
  23.           } XExposeEvent;
  24.  
  25.           When you receive this event, the structure members are set
  26.           as follows.
  27.  
  28.           The type member is set to the event type constant name that
  29.           uniquely identifies it.  For example, when the X server
  30.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  31.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  32.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  33.           pointer to the display the event was read on.  The
  34.           send_event member is set to _T_r_u_e if the event came from a
  35.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  36.           the serial number reported in the protocol but expanded from
  37.           the 16-bit least-significant bits to a full 32-bit value.
  38.           The window member is set to the window that is most useful
  39.           to toolkit dispatchers.
  40.  
  41.           The window member is set to the exposed (damaged) window.
  42.           The x and y members are set to the coordinates relative to
  43.           the window's origin and indicate the upper-left corner of
  44.           the rectangle.  The width and height members are set to the
  45.           size (extent) of the rectangle.  The count member is set to
  46.           the number of _E_x_p_o_s_e events that are to follow.  If count is
  47.           zero, no more _E_x_p_o_s_e events follow for this window.
  48.           However, if count is nonzero, at least that number of _E_x_p_o_s_e
  49.           events (and possibly more) follow for this window.  Simple
  50.           applications that do not want to optimize redisplay by
  51.           distinguishing between subareas of its window can just
  52.           ignore all _E_x_p_o_s_e events with nonzero counts and perform
  53.           full redisplays on events with zero counts.
  54.  
  55.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  56.           XAnyEvent(3X11), XButtonEvent(3X11),
  57.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  58.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  59.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXEEEExxxxppppoooosssseeeeEEEEvvvveeeennnntttt((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))  XXXXEEEExxxxppppoooosssseeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  75.           XErrorEvent(3X11), XFocusChangeEvent(3X11),
  76.           XGraphicsExposeEvent(3X11), XGravityEvent(3X11),
  77.           XKeymapEvent(3X11), XMapEvent(3X11), XMapRequestEvent(3X11),
  78.           XPropertyEvent(3X11), XReparentEvent(3X11),
  79.           XResizeRequestEvent(3X11), XSelectionClearEvent(3X11),
  80.           XSelectionEvent(3X11), XSelectionRequestEvent(3X11),
  81.           XUnmapEvent(3X11), XVisibilityEvent(3X11)
  82.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.